package com.pfzy.ui.activity.notification;

import android.content.Context;

import androidx.annotation.NonNull;

import com.blankj.utilcode.util.ScreenUtils;
import com.lxj.xpopup.core.PositionPopupView;
import com.pfzy.ui.R;

/**
 * 自定义自由定位Position弹窗
 */
public class NotificationMsgPopup extends PositionPopupView {
    public NotificationMsgPopup(@NonNull Context context) {
        super(context);
    }

    @Override
    protected int getImplLayoutId() {
        return R.layout.layout_notifacation3;
    }

    @Override
    protected void onCreate() {
        super.onCreate();
//        findViewById(R.id.tvClose).setOnClickListener(new OnClickListener() {
//            @Override
//            public void onClick(View v) {
//                dismiss();
//            }
//        });
    }

    @Override
    protected int getPopupWidth() {
        return ScreenUtils.getScreenWidth();
    }
}
